package com.miyu.system.pojo.system;


import com.miyu.system.utils.jpacomment.annotation.ColumnComment;
import com.miyu.system.utils.jpacomment.annotation.TableComment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.persistence.*;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;

/**
 * 显示区域;
 * @author : miyu
 * @date : 2023-7-23
 */
@ApiModel(value = "显示区域",description = "")
@Data
@Entity
@Table(name="sys_space")
@TableComment("显示区域")
public class SysSpace implements Serializable,Cloneable{
    /** 主键 */
    @Id
    @GenericGenerator(name = "jpa-uuid", strategy = "uuid")
    @GeneratedValue(generator = "jpa-uuid")

    @ApiModelProperty(value="主键",notes = "")
    @ColumnComment("主键")
    @Column(name = "space_id", nullable = false,length=32 )
    private String spaceId ;
    /** 显示域名称;域名称 */
    @ApiModelProperty(value="显示域名称",notes = "域名称")
    @ColumnComment("显示域名称")
    @Column(name = "space_name", nullable = true,length=90 )
    private String spaceName ;
    /** 显示范围;作用再哪个域中显示 */
    @ApiModelProperty(value="显示范围",notes = "作用再哪个域中显示")
    @ColumnComment("显示范围")
    @Column(name = "space_zone", nullable = true,length=90 )
    private String spaceZone ;
    /** 是否停用;是否停用 */
    @ApiModelProperty(value="是否停用",notes = "是否停用")
    @ColumnComment("是否停用")
    @Column(name = "is_stop", nullable = true,length=1 )
    private String isStop ;
    /** 菜单标识;菜单标识 */
    @ApiModelProperty(value="菜单标识",notes = "菜单标识")
    @Column(name = "menu_ide", nullable = true,length=10 )
    @ColumnComment("菜单标识")
    private String menuIde ;
}